async function request(param) {
	return await uniCloud.callFunction({
		name: 'zhy-jutuike',
		data: param
	}).catch(err => {
		console.log('发生错误');
		return null
	})
}

// sid是jutuike的跟单参数，需要有用户标识
function getSid(userID) {
	// return 'zhy_' + openid + '_' + parseInt(new Date().getTime() / 1000)
	return 'zaihuayi___' + userID
}
module.exports = {
	request,
	getSid,
}